package com.example.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.example.entity.Tag;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ArticleDetailVO4Web {
    private Integer categoryId;
    private String categoryName;
    private String content;
    private String cover;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    private NextArticle nextArticle;
    private PreArticle preArticle;
    private Integer readNum;
    private Integer readTime;
    private List<Tag> tags;
    private String title;
    private Integer totalWords;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    private Integer likeCount;
    private Integer favoriteCount;
}




